/*
 * Project: push-center-service-impl
 * 
 * File Created at 2014-10-9
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package com.greenline.push.service.core.his;

import com.greenline.push.dal.pushcenter.dataobject.MsgHisDO;

/**
 * 发送历史记录器
 * 
 * @author weirui.shenwr
 * @date 2014-10-9
 * @version V1.0
 */
public interface IHisRecorder {
    /**
     * 发送信息入历史记录库
     * 
     * @param msgHisDO
     * @return
     */
    boolean saveRecord(MsgHisDO msgHisDO);

    /**
     * 记录发送状态更新
     * 
     * @param msgHisDO
     * @return
     */
    boolean updateRecord(MsgHisDO msgHisDO);
}
